package com.honglv.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Auther: 生
 * @Date: 2024/04/17/21:02
 * @Description:
 */
@Data
public class UpdateStrategyDTO {

    private Long id;

    //攻略名
    private String name;

    //介绍
    private String context;

    //图片
    @ApiModelProperty(value = "List of strings", example = "[\"value1\", \"value2\", \"value3\"]")
    private List<String> pictures;

    public String getPictures() {
        return String.join(",",pictures);
    }
}
